<template>
<div style="width: 1024px; height: 996px">
  <el-form :model="select" class="demo-form-inline">
    <el-form-item label="页数">
      <el-select :v-model="select.pageCount" placeholder="请选择">
        <el-option
          v-for="item in fields.pageCount-页数"
          :key="item"
          :value="item"
        >
        </el-option>
      </el-select>
    </el-form-item>
    <el-form-item label="序号">
      <el-select :v-model="select.dataId" placeholder="请选择">
        <el-option
          v-for="item in fields.dataId-序号"
          :key="item"
          :value="item"
        >
        </el-option>
      </el-select>
    </el-form-item>
    <el-form-item label="部门代码">
      <el-select :v-model="select.groupCode" placeholder="请选择">
        <el-option
          v-for="item in groupCode-部门代码"
          :key="item"
          :value="item"
        >
        </el-option>
      </el-select>
    </el-form-item>
    <el-form-item label="密级">
      <el-select :v-model="select.mj" placeholder="请选择">
        <el-option
          v-for="item in fields.mj-密级"
          :key="item"
          :value="item"
        >
        </el-option>
      </el-select>
    </el-form-item>
    <el-form-item label="人员">
      <el-select :v-model="select.username" placeholder="请选择">
        <el-option
          v-for="item in fields.username-人员"
          :key="item"
          :value="item"
        >
        </el-option>
      </el-select>
    </el-form-item>
    <el-form-item>
        <el-button v-on="test"/>
    </el-form-item>
  </el-form>
</div>
</template>

<script>
export default {
  data () {
    return {
      select: {
        pageCount: '',
        dataId: '',
        groupCode: '',
        mj: '',
        username: ''
      },
      fields: {
        'pageCount-页数': [
          '0>MS',
          '1>ARCHIVE_COUNT',
          '2>SECRET_LEVEL',
          '3>DEPARTMENT_CODE',
          '4>JGR'
        ],
        'dataId-序号': [
          '0>MS',
          '1>ARCHIVE_COUNT',
          '2>SECRET_LEVEL',
          '3>DEPARTMENT_CODE',
          '4>JGR'
        ],
        'groupCode-部门代码': [
          '0>MS',
          '1>ARCHIVE_COUNT',
          '2>SECRET_LEVEL',
          '3>DEPARTMENT_CODE',
          '4>JGR'
        ],
        'mj-密级': [
          '0>MS',
          '1>ARCHIVE_COUNT',
          '2>SECRET_LEVEL',
          '3>DEPARTMENT_CODE',
          '4>JGR'
        ],
        'username-人员': [
          '0>MS',
          '1>ARCHIVE_COUNT',
          '2>SECRET_LEVEL',
          '3>DEPARTMENT_CODE',
          '4>JGR'
        ]
      }
    }
  },
  created () {
  },
  methods: {
    test () {
      console.log('test')
    }
  }
}
</script>
